--[[

        magickey_lvup2.lua
        exported by excel2lua.py
        from file:magickey_lvup2.xlsx

--]]

local _data = {
  [1] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [2] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [3] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [4] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [5] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [6] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [7] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [8] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [9] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [10] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [11] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [12] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [13] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [14] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [15] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [16] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [17] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [18] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [19] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
  [20] = {id = 1,lv = 20,cost_type1 = 1,cost_value1 = 1,cost_size1 = 0,attr_id = 105,attr_value = 10,},
}

local id_to_index={
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
   [1] = 20,
}

local magickey_lvup2={}

function magickey_lvup2.length() 
   return #_data 
end 

function magickey_lvup2.indexOf(index) 
   return _data[index] 
end 

function magickey_lvup2.get(id) 
  return magickey_lvup2.indexOf(id_to_index[id])
end 

return magickey_lvup2